﻿package 
{
	import flash.display.MovieClip;
	import flash.events.Event;
	import flash.events.MouseEvent;
	
	/**
	 * ...
	 * @author ...
	 */
	public class Item1 extends MovieClip 
	{
		
		private var isRoot:Boolean
		public function Item1(a_root:Boolean):void 
		{
			isRoot = a_root;
			//this.addEventListener(MouseEvent.MOUSE_DOWN, clickHandler);
			this.addEventListener(Event.REMOVED_FROM_STAGE, removedHandler);
		}
		
		private function removedHandler(e:Event):void 
		{
			removeEventListener(Event.REMOVED_FROM_STAGE, removedHandler);
			removeEventListener(MouseEvent.CLICK, clickHandler);
		}
		
		private function clickHandler(e:MouseEvent):void 
		{
			
		}
		
		public function getIsRoot():Boolean
		{
			return isRoot;
		}
		
		
	}
	
}